package com.ktjy.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @TableName b2c_order
 */
@TableName(value ="b2c_order")
public class B2cOrder implements Serializable {
    /**
     * 订单ID
     */
    private Integer id;

    /**
     * 订单编码
     */
    private String orderCode;

    /**
     * 订单总额
     */
    private BigDecimal sumAmout;

    /**
     * 订单支付方式 1 在线支付 2 公司转账 3 邮局汇款
     */
    private String paymentType;

    /**
     * 可使用资金金额
     */
    private BigDecimal fundsAmout;

    /**
     * 商品总额
     */
    private BigDecimal productAmout;

    /**
     * 满减金额
     */
    private BigDecimal satisfyMinusPay;

    /**
     * 信用金额
     */
    private BigDecimal creditPay;

    /**
     * 定金
     */
    private BigDecimal earnestPay;

    /**
     * 已资金支付金额
     */
    private BigDecimal fundsPay;

    /**
     * 已在线支付金额
     */
    private BigDecimal onlinePay;

    /**
     * 订单总计支付金额
     */
    private BigDecimal orderPay;

    /**
     * 订单配送方式 1 快递运输
     */
    private String deliveryType;

    /**
     * 订单运费
     */
    private BigDecimal shipping;

    /**
     * 买家账户ID
     */
    private Integer buyerAid;

    /**
     * 买家企业ID
     */
    private Integer buyerBid;

    /**
     * 买家明细ID
     */
    private Integer buyerUid;

    /**
     * 买家名称
     */
    private String buyerName;

    /**
     * 买家公司名称
     */
    private String buyerCompname;

    /**
     * 买家联系电话
     */
    private String buyerTel;

    /**
     * 联系手机号码
     */
    private String buyerPhone;

    /**
     * 买家邮箱地址
     */
    private String buyerEmail;

    /**
     * 买家详细地址
     */
    private String buyerAddress;

    /**
     * 买家邮编(将字段用于存放供应商经营类型：0>非冻品，1>冻品)
     */
    private String buyerPostcode;

    /**
     * 卖家账户ID
     */
    private Integer sellerAid;

    /**
     * 企业ID
     */
    private Integer sellerBid;

    /**
     * 卖家明细ID
     */
    private Integer sellerUid;

    /**
     * 卖家名称
     */
    private String sellerName;

    /**
     * 卖家公司名称
     */
    private String sellerCompname;

    /**
     * 经营类型：0>非冻品，1>冻品
     */
    private Integer sellerSaleType;

    /**
     * 订单提交IP
     */
    private String postIp;

    /**
     * 订单提交时间
     */
    private Date postTime;

    /**
     * 订单时间
     */
    private Date orderTime;

    /**
     * 出库状态
     */
    private Integer ostockStatus;

    /**
     * 出库状态名称
     */
    private String ostockStatusTitle;

    /**
     * 出库状态名称英文
     */
    private String ostockStatusTitleEn;

    /**
     * 发货状态
     */
    private Integer deliverStatus;

    /**
     * 发货状态名称
     */
    private String deliverStatusStatus;

    /**
     * 发货状态名称
     */
    private String deliverStatusStatusEn;

    /**
     * 支付状态 0-未付款 1- 已支付 2-部分支付
     */
    private Integer payStatus;

    /**
     * 支付状态名称
     */
    private String payStatusTitleEn;

    /**
     * 支付状态名称
     */
    private String payStatusTitle;

    /**
     * 订单状态 0-已提交->1-订单已支付->2已审核->3-财务已审核->4-已配货->5-已验货->6-已发货->7-已确认->8-已完成->9-已取消
     */
    private Integer orderStatus;

    /**
     * 订单状态名称
     */
    private String orderStatusTitle;

    /**
     * 订单状态名称
     */
    private String orderStatusTitleEn;

    /**
     * 订单来源
     */
    private Integer orderSource;

    /**
     * 订单类型(0、销售订单 1、预售订单 2、定制订单 3、兑换订单（积分订单） )
     */
    private Integer orderType;

    /**
     * 买家备注
     */
    private String buyerRemarks;

    /**
     * 卖家备注
     */
    private String sellerRemarks;

    /**
     * 是否部分付款
     */
    private Integer isPartialPayment;

    /**
     * 是否开发票
     */
    private Integer isHaveInvoice;

    /**
     * 是否删除0:不删除，1：删除 2取消订单
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String createBy;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新人
     */
    private String updateBy;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 所对应的kz_business主键
     */
    private Integer bid;

    /**
     * 
     */
    private String param1;

    /**
     * 是否打印（0，否  1，是）
     */
    private String param2;

    /**
     * 
     */
    private String param3;

    /**
     * 
     */
    private String param4;

    /**
     * 0、未生成结算单   1、已生成结算单  2、结算完成
     */
    private String param5;

    /**
     * 可使用积分总额
     */
    private BigDecimal goldAmout;

    /**
     * 已支付积分总额
     */
    private BigDecimal goldPay;

    /**
     * 订单状态名称(会员中心显示)
     */
    private String orderAliasStatusTitle;

    /**
     * 是否可以退换货 0，是 1 否
     */
    private Integer isRejected;

    /**
     * 代金券id
     */
    private Integer cashcouponsId;

    /**
     * 代金券金额
     */
    private BigDecimal cashcoupons;

    /**
     * 推广人id
     */
    private Integer referId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /**
     * 订单ID
     */
    public Integer getId() {
        return id;
    }

    /**
     * 订单ID
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单编码
     */
    public String getOrderCode() {
        return orderCode;
    }

    /**
     * 订单编码
     */
    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 订单总额
     */
    public BigDecimal getSumAmout() {
        return sumAmout;
    }

    /**
     * 订单总额
     */
    public void setSumAmout(BigDecimal sumAmout) {
        this.sumAmout = sumAmout;
    }

    /**
     * 订单支付方式 1 在线支付 2 公司转账 3 邮局汇款
     */
    public String getPaymentType() {
        return paymentType;
    }

    /**
     * 订单支付方式 1 在线支付 2 公司转账 3 邮局汇款
     */
    public void setPaymentType(String paymentType) {
        this.paymentType = paymentType;
    }

    /**
     * 可使用资金金额
     */
    public BigDecimal getFundsAmout() {
        return fundsAmout;
    }

    /**
     * 可使用资金金额
     */
    public void setFundsAmout(BigDecimal fundsAmout) {
        this.fundsAmout = fundsAmout;
    }

    /**
     * 商品总额
     */
    public BigDecimal getProductAmout() {
        return productAmout;
    }

    /**
     * 商品总额
     */
    public void setProductAmout(BigDecimal productAmout) {
        this.productAmout = productAmout;
    }

    /**
     * 满减金额
     */
    public BigDecimal getSatisfyMinusPay() {
        return satisfyMinusPay;
    }

    /**
     * 满减金额
     */
    public void setSatisfyMinusPay(BigDecimal satisfyMinusPay) {
        this.satisfyMinusPay = satisfyMinusPay;
    }

    /**
     * 信用金额
     */
    public BigDecimal getCreditPay() {
        return creditPay;
    }

    /**
     * 信用金额
     */
    public void setCreditPay(BigDecimal creditPay) {
        this.creditPay = creditPay;
    }

    /**
     * 定金
     */
    public BigDecimal getEarnestPay() {
        return earnestPay;
    }

    /**
     * 定金
     */
    public void setEarnestPay(BigDecimal earnestPay) {
        this.earnestPay = earnestPay;
    }

    /**
     * 已资金支付金额
     */
    public BigDecimal getFundsPay() {
        return fundsPay;
    }

    /**
     * 已资金支付金额
     */
    public void setFundsPay(BigDecimal fundsPay) {
        this.fundsPay = fundsPay;
    }

    /**
     * 已在线支付金额
     */
    public BigDecimal getOnlinePay() {
        return onlinePay;
    }

    /**
     * 已在线支付金额
     */
    public void setOnlinePay(BigDecimal onlinePay) {
        this.onlinePay = onlinePay;
    }

    /**
     * 订单总计支付金额
     */
    public BigDecimal getOrderPay() {
        return orderPay;
    }

    /**
     * 订单总计支付金额
     */
    public void setOrderPay(BigDecimal orderPay) {
        this.orderPay = orderPay;
    }

    /**
     * 订单配送方式 1 快递运输
     */
    public String getDeliveryType() {
        return deliveryType;
    }

    /**
     * 订单配送方式 1 快递运输
     */
    public void setDeliveryType(String deliveryType) {
        this.deliveryType = deliveryType;
    }

    /**
     * 订单运费
     */
    public BigDecimal getShipping() {
        return shipping;
    }

    /**
     * 订单运费
     */
    public void setShipping(BigDecimal shipping) {
        this.shipping = shipping;
    }

    /**
     * 买家账户ID
     */
    public Integer getBuyerAid() {
        return buyerAid;
    }

    /**
     * 买家账户ID
     */
    public void setBuyerAid(Integer buyerAid) {
        this.buyerAid = buyerAid;
    }

    /**
     * 买家企业ID
     */
    public Integer getBuyerBid() {
        return buyerBid;
    }

    /**
     * 买家企业ID
     */
    public void setBuyerBid(Integer buyerBid) {
        this.buyerBid = buyerBid;
    }

    /**
     * 买家明细ID
     */
    public Integer getBuyerUid() {
        return buyerUid;
    }

    /**
     * 买家明细ID
     */
    public void setBuyerUid(Integer buyerUid) {
        this.buyerUid = buyerUid;
    }

    /**
     * 买家名称
     */
    public String getBuyerName() {
        return buyerName;
    }

    /**
     * 买家名称
     */
    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    /**
     * 买家公司名称
     */
    public String getBuyerCompname() {
        return buyerCompname;
    }

    /**
     * 买家公司名称
     */
    public void setBuyerCompname(String buyerCompname) {
        this.buyerCompname = buyerCompname;
    }

    /**
     * 买家联系电话
     */
    public String getBuyerTel() {
        return buyerTel;
    }

    /**
     * 买家联系电话
     */
    public void setBuyerTel(String buyerTel) {
        this.buyerTel = buyerTel;
    }

    /**
     * 联系手机号码
     */
    public String getBuyerPhone() {
        return buyerPhone;
    }

    /**
     * 联系手机号码
     */
    public void setBuyerPhone(String buyerPhone) {
        this.buyerPhone = buyerPhone;
    }

    /**
     * 买家邮箱地址
     */
    public String getBuyerEmail() {
        return buyerEmail;
    }

    /**
     * 买家邮箱地址
     */
    public void setBuyerEmail(String buyerEmail) {
        this.buyerEmail = buyerEmail;
    }

    /**
     * 买家详细地址
     */
    public String getBuyerAddress() {
        return buyerAddress;
    }

    /**
     * 买家详细地址
     */
    public void setBuyerAddress(String buyerAddress) {
        this.buyerAddress = buyerAddress;
    }

    /**
     * 买家邮编(将字段用于存放供应商经营类型：0>非冻品，1>冻品)
     */
    public String getBuyerPostcode() {
        return buyerPostcode;
    }

    /**
     * 买家邮编(将字段用于存放供应商经营类型：0>非冻品，1>冻品)
     */
    public void setBuyerPostcode(String buyerPostcode) {
        this.buyerPostcode = buyerPostcode;
    }

    /**
     * 卖家账户ID
     */
    public Integer getSellerAid() {
        return sellerAid;
    }

    /**
     * 卖家账户ID
     */
    public void setSellerAid(Integer sellerAid) {
        this.sellerAid = sellerAid;
    }

    /**
     * 企业ID
     */
    public Integer getSellerBid() {
        return sellerBid;
    }

    /**
     * 企业ID
     */
    public void setSellerBid(Integer sellerBid) {
        this.sellerBid = sellerBid;
    }

    /**
     * 卖家明细ID
     */
    public Integer getSellerUid() {
        return sellerUid;
    }

    /**
     * 卖家明细ID
     */
    public void setSellerUid(Integer sellerUid) {
        this.sellerUid = sellerUid;
    }

    /**
     * 卖家名称
     */
    public String getSellerName() {
        return sellerName;
    }

    /**
     * 卖家名称
     */
    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    /**
     * 卖家公司名称
     */
    public String getSellerCompname() {
        return sellerCompname;
    }

    /**
     * 卖家公司名称
     */
    public void setSellerCompname(String sellerCompname) {
        this.sellerCompname = sellerCompname;
    }

    /**
     * 经营类型：0>非冻品，1>冻品
     */
    public Integer getSellerSaleType() {
        return sellerSaleType;
    }

    /**
     * 经营类型：0>非冻品，1>冻品
     */
    public void setSellerSaleType(Integer sellerSaleType) {
        this.sellerSaleType = sellerSaleType;
    }

    /**
     * 订单提交IP
     */
    public String getPostIp() {
        return postIp;
    }

    /**
     * 订单提交IP
     */
    public void setPostIp(String postIp) {
        this.postIp = postIp;
    }

    /**
     * 订单提交时间
     */
    public Date getPostTime() {
        return postTime;
    }

    /**
     * 订单提交时间
     */
    public void setPostTime(Date postTime) {
        this.postTime = postTime;
    }

    /**
     * 订单时间
     */
    public Date getOrderTime() {
        return orderTime;
    }

    /**
     * 订单时间
     */
    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    /**
     * 出库状态
     */
    public Integer getOstockStatus() {
        return ostockStatus;
    }

    /**
     * 出库状态
     */
    public void setOstockStatus(Integer ostockStatus) {
        this.ostockStatus = ostockStatus;
    }

    /**
     * 出库状态名称
     */
    public String getOstockStatusTitle() {
        return ostockStatusTitle;
    }

    /**
     * 出库状态名称
     */
    public void setOstockStatusTitle(String ostockStatusTitle) {
        this.ostockStatusTitle = ostockStatusTitle;
    }

    /**
     * 出库状态名称英文
     */
    public String getOstockStatusTitleEn() {
        return ostockStatusTitleEn;
    }

    /**
     * 出库状态名称英文
     */
    public void setOstockStatusTitleEn(String ostockStatusTitleEn) {
        this.ostockStatusTitleEn = ostockStatusTitleEn;
    }

    /**
     * 发货状态
     */
    public Integer getDeliverStatus() {
        return deliverStatus;
    }

    /**
     * 发货状态
     */
    public void setDeliverStatus(Integer deliverStatus) {
        this.deliverStatus = deliverStatus;
    }

    /**
     * 发货状态名称
     */
    public String getDeliverStatusStatus() {
        return deliverStatusStatus;
    }

    /**
     * 发货状态名称
     */
    public void setDeliverStatusStatus(String deliverStatusStatus) {
        this.deliverStatusStatus = deliverStatusStatus;
    }

    /**
     * 发货状态名称
     */
    public String getDeliverStatusStatusEn() {
        return deliverStatusStatusEn;
    }

    /**
     * 发货状态名称
     */
    public void setDeliverStatusStatusEn(String deliverStatusStatusEn) {
        this.deliverStatusStatusEn = deliverStatusStatusEn;
    }

    /**
     * 支付状态 0-未付款 1- 已支付 2-部分支付
     */
    public Integer getPayStatus() {
        return payStatus;
    }

    /**
     * 支付状态 0-未付款 1- 已支付 2-部分支付
     */
    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    /**
     * 支付状态名称
     */
    public String getPayStatusTitleEn() {
        return payStatusTitleEn;
    }

    /**
     * 支付状态名称
     */
    public void setPayStatusTitleEn(String payStatusTitleEn) {
        this.payStatusTitleEn = payStatusTitleEn;
    }

    /**
     * 支付状态名称
     */
    public String getPayStatusTitle() {
        return payStatusTitle;
    }

    /**
     * 支付状态名称
     */
    public void setPayStatusTitle(String payStatusTitle) {
        this.payStatusTitle = payStatusTitle;
    }

    /**
     * 订单状态 0-已提交->1-订单已支付->2已审核->3-财务已审核->4-已配货->5-已验货->6-已发货->7-已确认->8-已完成->9-已取消
     */
    public Integer getOrderStatus() {
        return orderStatus;
    }

    /**
     * 订单状态 0-已提交->1-订单已支付->2已审核->3-财务已审核->4-已配货->5-已验货->6-已发货->7-已确认->8-已完成->9-已取消
     */
    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    /**
     * 订单状态名称
     */
    public String getOrderStatusTitle() {
        return orderStatusTitle;
    }

    /**
     * 订单状态名称
     */
    public void setOrderStatusTitle(String orderStatusTitle) {
        this.orderStatusTitle = orderStatusTitle;
    }

    /**
     * 订单状态名称
     */
    public String getOrderStatusTitleEn() {
        return orderStatusTitleEn;
    }

    /**
     * 订单状态名称
     */
    public void setOrderStatusTitleEn(String orderStatusTitleEn) {
        this.orderStatusTitleEn = orderStatusTitleEn;
    }

    /**
     * 订单来源
     */
    public Integer getOrderSource() {
        return orderSource;
    }

    /**
     * 订单来源
     */
    public void setOrderSource(Integer orderSource) {
        this.orderSource = orderSource;
    }

    /**
     * 订单类型(0、销售订单 1、预售订单 2、定制订单 3、兑换订单（积分订单） )
     */
    public Integer getOrderType() {
        return orderType;
    }

    /**
     * 订单类型(0、销售订单 1、预售订单 2、定制订单 3、兑换订单（积分订单） )
     */
    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    /**
     * 买家备注
     */
    public String getBuyerRemarks() {
        return buyerRemarks;
    }

    /**
     * 买家备注
     */
    public void setBuyerRemarks(String buyerRemarks) {
        this.buyerRemarks = buyerRemarks;
    }

    /**
     * 卖家备注
     */
    public String getSellerRemarks() {
        return sellerRemarks;
    }

    /**
     * 卖家备注
     */
    public void setSellerRemarks(String sellerRemarks) {
        this.sellerRemarks = sellerRemarks;
    }

    /**
     * 是否部分付款
     */
    public Integer getIsPartialPayment() {
        return isPartialPayment;
    }

    /**
     * 是否部分付款
     */
    public void setIsPartialPayment(Integer isPartialPayment) {
        this.isPartialPayment = isPartialPayment;
    }

    /**
     * 是否开发票
     */
    public Integer getIsHaveInvoice() {
        return isHaveInvoice;
    }

    /**
     * 是否开发票
     */
    public void setIsHaveInvoice(Integer isHaveInvoice) {
        this.isHaveInvoice = isHaveInvoice;
    }

    /**
     * 是否删除0:不删除，1：删除 2取消订单
     */
    public Integer getIsDel() {
        return isDel;
    }

    /**
     * 是否删除0:不删除，1：删除 2取消订单
     */
    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    /**
     * 创建人
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 创建人
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 更新人
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 更新人
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 更新时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 更新时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 所对应的kz_business主键
     */
    public Integer getBid() {
        return bid;
    }

    /**
     * 所对应的kz_business主键
     */
    public void setBid(Integer bid) {
        this.bid = bid;
    }

    /**
     * 
     */
    public String getParam1() {
        return param1;
    }

    /**
     * 
     */
    public void setParam1(String param1) {
        this.param1 = param1;
    }

    /**
     * 是否打印（0，否  1，是）
     */
    public String getParam2() {
        return param2;
    }

    /**
     * 是否打印（0，否  1，是）
     */
    public void setParam2(String param2) {
        this.param2 = param2;
    }

    /**
     * 
     */
    public String getParam3() {
        return param3;
    }

    /**
     * 
     */
    public void setParam3(String param3) {
        this.param3 = param3;
    }

    /**
     * 
     */
    public String getParam4() {
        return param4;
    }

    /**
     * 
     */
    public void setParam4(String param4) {
        this.param4 = param4;
    }

    /**
     * 0、未生成结算单   1、已生成结算单  2、结算完成
     */
    public String getParam5() {
        return param5;
    }

    /**
     * 0、未生成结算单   1、已生成结算单  2、结算完成
     */
    public void setParam5(String param5) {
        this.param5 = param5;
    }

    /**
     * 可使用积分总额
     */
    public BigDecimal getGoldAmout() {
        return goldAmout;
    }

    /**
     * 可使用积分总额
     */
    public void setGoldAmout(BigDecimal goldAmout) {
        this.goldAmout = goldAmout;
    }

    /**
     * 已支付积分总额
     */
    public BigDecimal getGoldPay() {
        return goldPay;
    }

    /**
     * 已支付积分总额
     */
    public void setGoldPay(BigDecimal goldPay) {
        this.goldPay = goldPay;
    }

    /**
     * 订单状态名称(会员中心显示)
     */
    public String getOrderAliasStatusTitle() {
        return orderAliasStatusTitle;
    }

    /**
     * 订单状态名称(会员中心显示)
     */
    public void setOrderAliasStatusTitle(String orderAliasStatusTitle) {
        this.orderAliasStatusTitle = orderAliasStatusTitle;
    }

    /**
     * 是否可以退换货 0，是 1 否
     */
    public Integer getIsRejected() {
        return isRejected;
    }

    /**
     * 是否可以退换货 0，是 1 否
     */
    public void setIsRejected(Integer isRejected) {
        this.isRejected = isRejected;
    }

    /**
     * 代金券id
     */
    public Integer getCashcouponsId() {
        return cashcouponsId;
    }

    /**
     * 代金券id
     */
    public void setCashcouponsId(Integer cashcouponsId) {
        this.cashcouponsId = cashcouponsId;
    }

    /**
     * 代金券金额
     */
    public BigDecimal getCashcoupons() {
        return cashcoupons;
    }

    /**
     * 代金券金额
     */
    public void setCashcoupons(BigDecimal cashcoupons) {
        this.cashcoupons = cashcoupons;
    }

    /**
     * 推广人id
     */
    public Integer getReferId() {
        return referId;
    }

    /**
     * 推广人id
     */
    public void setReferId(Integer referId) {
        this.referId = referId;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        B2cOrder other = (B2cOrder) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
            && (this.getSumAmout() == null ? other.getSumAmout() == null : this.getSumAmout().equals(other.getSumAmout()))
            && (this.getPaymentType() == null ? other.getPaymentType() == null : this.getPaymentType().equals(other.getPaymentType()))
            && (this.getFundsAmout() == null ? other.getFundsAmout() == null : this.getFundsAmout().equals(other.getFundsAmout()))
            && (this.getProductAmout() == null ? other.getProductAmout() == null : this.getProductAmout().equals(other.getProductAmout()))
            && (this.getSatisfyMinusPay() == null ? other.getSatisfyMinusPay() == null : this.getSatisfyMinusPay().equals(other.getSatisfyMinusPay()))
            && (this.getCreditPay() == null ? other.getCreditPay() == null : this.getCreditPay().equals(other.getCreditPay()))
            && (this.getEarnestPay() == null ? other.getEarnestPay() == null : this.getEarnestPay().equals(other.getEarnestPay()))
            && (this.getFundsPay() == null ? other.getFundsPay() == null : this.getFundsPay().equals(other.getFundsPay()))
            && (this.getOnlinePay() == null ? other.getOnlinePay() == null : this.getOnlinePay().equals(other.getOnlinePay()))
            && (this.getOrderPay() == null ? other.getOrderPay() == null : this.getOrderPay().equals(other.getOrderPay()))
            && (this.getDeliveryType() == null ? other.getDeliveryType() == null : this.getDeliveryType().equals(other.getDeliveryType()))
            && (this.getShipping() == null ? other.getShipping() == null : this.getShipping().equals(other.getShipping()))
            && (this.getBuyerAid() == null ? other.getBuyerAid() == null : this.getBuyerAid().equals(other.getBuyerAid()))
            && (this.getBuyerBid() == null ? other.getBuyerBid() == null : this.getBuyerBid().equals(other.getBuyerBid()))
            && (this.getBuyerUid() == null ? other.getBuyerUid() == null : this.getBuyerUid().equals(other.getBuyerUid()))
            && (this.getBuyerName() == null ? other.getBuyerName() == null : this.getBuyerName().equals(other.getBuyerName()))
            && (this.getBuyerCompname() == null ? other.getBuyerCompname() == null : this.getBuyerCompname().equals(other.getBuyerCompname()))
            && (this.getBuyerTel() == null ? other.getBuyerTel() == null : this.getBuyerTel().equals(other.getBuyerTel()))
            && (this.getBuyerPhone() == null ? other.getBuyerPhone() == null : this.getBuyerPhone().equals(other.getBuyerPhone()))
            && (this.getBuyerEmail() == null ? other.getBuyerEmail() == null : this.getBuyerEmail().equals(other.getBuyerEmail()))
            && (this.getBuyerAddress() == null ? other.getBuyerAddress() == null : this.getBuyerAddress().equals(other.getBuyerAddress()))
            && (this.getBuyerPostcode() == null ? other.getBuyerPostcode() == null : this.getBuyerPostcode().equals(other.getBuyerPostcode()))
            && (this.getSellerAid() == null ? other.getSellerAid() == null : this.getSellerAid().equals(other.getSellerAid()))
            && (this.getSellerBid() == null ? other.getSellerBid() == null : this.getSellerBid().equals(other.getSellerBid()))
            && (this.getSellerUid() == null ? other.getSellerUid() == null : this.getSellerUid().equals(other.getSellerUid()))
            && (this.getSellerName() == null ? other.getSellerName() == null : this.getSellerName().equals(other.getSellerName()))
            && (this.getSellerCompname() == null ? other.getSellerCompname() == null : this.getSellerCompname().equals(other.getSellerCompname()))
            && (this.getSellerSaleType() == null ? other.getSellerSaleType() == null : this.getSellerSaleType().equals(other.getSellerSaleType()))
            && (this.getPostIp() == null ? other.getPostIp() == null : this.getPostIp().equals(other.getPostIp()))
            && (this.getPostTime() == null ? other.getPostTime() == null : this.getPostTime().equals(other.getPostTime()))
            && (this.getOrderTime() == null ? other.getOrderTime() == null : this.getOrderTime().equals(other.getOrderTime()))
            && (this.getOstockStatus() == null ? other.getOstockStatus() == null : this.getOstockStatus().equals(other.getOstockStatus()))
            && (this.getOstockStatusTitle() == null ? other.getOstockStatusTitle() == null : this.getOstockStatusTitle().equals(other.getOstockStatusTitle()))
            && (this.getOstockStatusTitleEn() == null ? other.getOstockStatusTitleEn() == null : this.getOstockStatusTitleEn().equals(other.getOstockStatusTitleEn()))
            && (this.getDeliverStatus() == null ? other.getDeliverStatus() == null : this.getDeliverStatus().equals(other.getDeliverStatus()))
            && (this.getDeliverStatusStatus() == null ? other.getDeliverStatusStatus() == null : this.getDeliverStatusStatus().equals(other.getDeliverStatusStatus()))
            && (this.getDeliverStatusStatusEn() == null ? other.getDeliverStatusStatusEn() == null : this.getDeliverStatusStatusEn().equals(other.getDeliverStatusStatusEn()))
            && (this.getPayStatus() == null ? other.getPayStatus() == null : this.getPayStatus().equals(other.getPayStatus()))
            && (this.getPayStatusTitleEn() == null ? other.getPayStatusTitleEn() == null : this.getPayStatusTitleEn().equals(other.getPayStatusTitleEn()))
            && (this.getPayStatusTitle() == null ? other.getPayStatusTitle() == null : this.getPayStatusTitle().equals(other.getPayStatusTitle()))
            && (this.getOrderStatus() == null ? other.getOrderStatus() == null : this.getOrderStatus().equals(other.getOrderStatus()))
            && (this.getOrderStatusTitle() == null ? other.getOrderStatusTitle() == null : this.getOrderStatusTitle().equals(other.getOrderStatusTitle()))
            && (this.getOrderStatusTitleEn() == null ? other.getOrderStatusTitleEn() == null : this.getOrderStatusTitleEn().equals(other.getOrderStatusTitleEn()))
            && (this.getOrderSource() == null ? other.getOrderSource() == null : this.getOrderSource().equals(other.getOrderSource()))
            && (this.getOrderType() == null ? other.getOrderType() == null : this.getOrderType().equals(other.getOrderType()))
            && (this.getBuyerRemarks() == null ? other.getBuyerRemarks() == null : this.getBuyerRemarks().equals(other.getBuyerRemarks()))
            && (this.getSellerRemarks() == null ? other.getSellerRemarks() == null : this.getSellerRemarks().equals(other.getSellerRemarks()))
            && (this.getIsPartialPayment() == null ? other.getIsPartialPayment() == null : this.getIsPartialPayment().equals(other.getIsPartialPayment()))
            && (this.getIsHaveInvoice() == null ? other.getIsHaveInvoice() == null : this.getIsHaveInvoice().equals(other.getIsHaveInvoice()))
            && (this.getIsDel() == null ? other.getIsDel() == null : this.getIsDel().equals(other.getIsDel()))
            && (this.getCreateBy() == null ? other.getCreateBy() == null : this.getCreateBy().equals(other.getCreateBy()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getUpdateBy() == null ? other.getUpdateBy() == null : this.getUpdateBy().equals(other.getUpdateBy()))
            && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()))
            && (this.getBid() == null ? other.getBid() == null : this.getBid().equals(other.getBid()))
            && (this.getParam1() == null ? other.getParam1() == null : this.getParam1().equals(other.getParam1()))
            && (this.getParam2() == null ? other.getParam2() == null : this.getParam2().equals(other.getParam2()))
            && (this.getParam3() == null ? other.getParam3() == null : this.getParam3().equals(other.getParam3()))
            && (this.getParam4() == null ? other.getParam4() == null : this.getParam4().equals(other.getParam4()))
            && (this.getParam5() == null ? other.getParam5() == null : this.getParam5().equals(other.getParam5()))
            && (this.getGoldAmout() == null ? other.getGoldAmout() == null : this.getGoldAmout().equals(other.getGoldAmout()))
            && (this.getGoldPay() == null ? other.getGoldPay() == null : this.getGoldPay().equals(other.getGoldPay()))
            && (this.getOrderAliasStatusTitle() == null ? other.getOrderAliasStatusTitle() == null : this.getOrderAliasStatusTitle().equals(other.getOrderAliasStatusTitle()))
            && (this.getIsRejected() == null ? other.getIsRejected() == null : this.getIsRejected().equals(other.getIsRejected()))
            && (this.getCashcouponsId() == null ? other.getCashcouponsId() == null : this.getCashcouponsId().equals(other.getCashcouponsId()))
            && (this.getCashcoupons() == null ? other.getCashcoupons() == null : this.getCashcoupons().equals(other.getCashcoupons()))
            && (this.getReferId() == null ? other.getReferId() == null : this.getReferId().equals(other.getReferId()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getSumAmout() == null) ? 0 : getSumAmout().hashCode());
        result = prime * result + ((getPaymentType() == null) ? 0 : getPaymentType().hashCode());
        result = prime * result + ((getFundsAmout() == null) ? 0 : getFundsAmout().hashCode());
        result = prime * result + ((getProductAmout() == null) ? 0 : getProductAmout().hashCode());
        result = prime * result + ((getSatisfyMinusPay() == null) ? 0 : getSatisfyMinusPay().hashCode());
        result = prime * result + ((getCreditPay() == null) ? 0 : getCreditPay().hashCode());
        result = prime * result + ((getEarnestPay() == null) ? 0 : getEarnestPay().hashCode());
        result = prime * result + ((getFundsPay() == null) ? 0 : getFundsPay().hashCode());
        result = prime * result + ((getOnlinePay() == null) ? 0 : getOnlinePay().hashCode());
        result = prime * result + ((getOrderPay() == null) ? 0 : getOrderPay().hashCode());
        result = prime * result + ((getDeliveryType() == null) ? 0 : getDeliveryType().hashCode());
        result = prime * result + ((getShipping() == null) ? 0 : getShipping().hashCode());
        result = prime * result + ((getBuyerAid() == null) ? 0 : getBuyerAid().hashCode());
        result = prime * result + ((getBuyerBid() == null) ? 0 : getBuyerBid().hashCode());
        result = prime * result + ((getBuyerUid() == null) ? 0 : getBuyerUid().hashCode());
        result = prime * result + ((getBuyerName() == null) ? 0 : getBuyerName().hashCode());
        result = prime * result + ((getBuyerCompname() == null) ? 0 : getBuyerCompname().hashCode());
        result = prime * result + ((getBuyerTel() == null) ? 0 : getBuyerTel().hashCode());
        result = prime * result + ((getBuyerPhone() == null) ? 0 : getBuyerPhone().hashCode());
        result = prime * result + ((getBuyerEmail() == null) ? 0 : getBuyerEmail().hashCode());
        result = prime * result + ((getBuyerAddress() == null) ? 0 : getBuyerAddress().hashCode());
        result = prime * result + ((getBuyerPostcode() == null) ? 0 : getBuyerPostcode().hashCode());
        result = prime * result + ((getSellerAid() == null) ? 0 : getSellerAid().hashCode());
        result = prime * result + ((getSellerBid() == null) ? 0 : getSellerBid().hashCode());
        result = prime * result + ((getSellerUid() == null) ? 0 : getSellerUid().hashCode());
        result = prime * result + ((getSellerName() == null) ? 0 : getSellerName().hashCode());
        result = prime * result + ((getSellerCompname() == null) ? 0 : getSellerCompname().hashCode());
        result = prime * result + ((getSellerSaleType() == null) ? 0 : getSellerSaleType().hashCode());
        result = prime * result + ((getPostIp() == null) ? 0 : getPostIp().hashCode());
        result = prime * result + ((getPostTime() == null) ? 0 : getPostTime().hashCode());
        result = prime * result + ((getOrderTime() == null) ? 0 : getOrderTime().hashCode());
        result = prime * result + ((getOstockStatus() == null) ? 0 : getOstockStatus().hashCode());
        result = prime * result + ((getOstockStatusTitle() == null) ? 0 : getOstockStatusTitle().hashCode());
        result = prime * result + ((getOstockStatusTitleEn() == null) ? 0 : getOstockStatusTitleEn().hashCode());
        result = prime * result + ((getDeliverStatus() == null) ? 0 : getDeliverStatus().hashCode());
        result = prime * result + ((getDeliverStatusStatus() == null) ? 0 : getDeliverStatusStatus().hashCode());
        result = prime * result + ((getDeliverStatusStatusEn() == null) ? 0 : getDeliverStatusStatusEn().hashCode());
        result = prime * result + ((getPayStatus() == null) ? 0 : getPayStatus().hashCode());
        result = prime * result + ((getPayStatusTitleEn() == null) ? 0 : getPayStatusTitleEn().hashCode());
        result = prime * result + ((getPayStatusTitle() == null) ? 0 : getPayStatusTitle().hashCode());
        result = prime * result + ((getOrderStatus() == null) ? 0 : getOrderStatus().hashCode());
        result = prime * result + ((getOrderStatusTitle() == null) ? 0 : getOrderStatusTitle().hashCode());
        result = prime * result + ((getOrderStatusTitleEn() == null) ? 0 : getOrderStatusTitleEn().hashCode());
        result = prime * result + ((getOrderSource() == null) ? 0 : getOrderSource().hashCode());
        result = prime * result + ((getOrderType() == null) ? 0 : getOrderType().hashCode());
        result = prime * result + ((getBuyerRemarks() == null) ? 0 : getBuyerRemarks().hashCode());
        result = prime * result + ((getSellerRemarks() == null) ? 0 : getSellerRemarks().hashCode());
        result = prime * result + ((getIsPartialPayment() == null) ? 0 : getIsPartialPayment().hashCode());
        result = prime * result + ((getIsHaveInvoice() == null) ? 0 : getIsHaveInvoice().hashCode());
        result = prime * result + ((getIsDel() == null) ? 0 : getIsDel().hashCode());
        result = prime * result + ((getCreateBy() == null) ? 0 : getCreateBy().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getUpdateBy() == null) ? 0 : getUpdateBy().hashCode());
        result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
        result = prime * result + ((getBid() == null) ? 0 : getBid().hashCode());
        result = prime * result + ((getParam1() == null) ? 0 : getParam1().hashCode());
        result = prime * result + ((getParam2() == null) ? 0 : getParam2().hashCode());
        result = prime * result + ((getParam3() == null) ? 0 : getParam3().hashCode());
        result = prime * result + ((getParam4() == null) ? 0 : getParam4().hashCode());
        result = prime * result + ((getParam5() == null) ? 0 : getParam5().hashCode());
        result = prime * result + ((getGoldAmout() == null) ? 0 : getGoldAmout().hashCode());
        result = prime * result + ((getGoldPay() == null) ? 0 : getGoldPay().hashCode());
        result = prime * result + ((getOrderAliasStatusTitle() == null) ? 0 : getOrderAliasStatusTitle().hashCode());
        result = prime * result + ((getIsRejected() == null) ? 0 : getIsRejected().hashCode());
        result = prime * result + ((getCashcouponsId() == null) ? 0 : getCashcouponsId().hashCode());
        result = prime * result + ((getCashcoupons() == null) ? 0 : getCashcoupons().hashCode());
        result = prime * result + ((getReferId() == null) ? 0 : getReferId().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", sumAmout=").append(sumAmout);
        sb.append(", paymentType=").append(paymentType);
        sb.append(", fundsAmout=").append(fundsAmout);
        sb.append(", productAmout=").append(productAmout);
        sb.append(", satisfyMinusPay=").append(satisfyMinusPay);
        sb.append(", creditPay=").append(creditPay);
        sb.append(", earnestPay=").append(earnestPay);
        sb.append(", fundsPay=").append(fundsPay);
        sb.append(", onlinePay=").append(onlinePay);
        sb.append(", orderPay=").append(orderPay);
        sb.append(", deliveryType=").append(deliveryType);
        sb.append(", shipping=").append(shipping);
        sb.append(", buyerAid=").append(buyerAid);
        sb.append(", buyerBid=").append(buyerBid);
        sb.append(", buyerUid=").append(buyerUid);
        sb.append(", buyerName=").append(buyerName);
        sb.append(", buyerCompname=").append(buyerCompname);
        sb.append(", buyerTel=").append(buyerTel);
        sb.append(", buyerPhone=").append(buyerPhone);
        sb.append(", buyerEmail=").append(buyerEmail);
        sb.append(", buyerAddress=").append(buyerAddress);
        sb.append(", buyerPostcode=").append(buyerPostcode);
        sb.append(", sellerAid=").append(sellerAid);
        sb.append(", sellerBid=").append(sellerBid);
        sb.append(", sellerUid=").append(sellerUid);
        sb.append(", sellerName=").append(sellerName);
        sb.append(", sellerCompname=").append(sellerCompname);
        sb.append(", sellerSaleType=").append(sellerSaleType);
        sb.append(", postIp=").append(postIp);
        sb.append(", postTime=").append(postTime);
        sb.append(", orderTime=").append(orderTime);
        sb.append(", ostockStatus=").append(ostockStatus);
        sb.append(", ostockStatusTitle=").append(ostockStatusTitle);
        sb.append(", ostockStatusTitleEn=").append(ostockStatusTitleEn);
        sb.append(", deliverStatus=").append(deliverStatus);
        sb.append(", deliverStatusStatus=").append(deliverStatusStatus);
        sb.append(", deliverStatusStatusEn=").append(deliverStatusStatusEn);
        sb.append(", payStatus=").append(payStatus);
        sb.append(", payStatusTitleEn=").append(payStatusTitleEn);
        sb.append(", payStatusTitle=").append(payStatusTitle);
        sb.append(", orderStatus=").append(orderStatus);
        sb.append(", orderStatusTitle=").append(orderStatusTitle);
        sb.append(", orderStatusTitleEn=").append(orderStatusTitleEn);
        sb.append(", orderSource=").append(orderSource);
        sb.append(", orderType=").append(orderType);
        sb.append(", buyerRemarks=").append(buyerRemarks);
        sb.append(", sellerRemarks=").append(sellerRemarks);
        sb.append(", isPartialPayment=").append(isPartialPayment);
        sb.append(", isHaveInvoice=").append(isHaveInvoice);
        sb.append(", isDel=").append(isDel);
        sb.append(", createBy=").append(createBy);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", bid=").append(bid);
        sb.append(", param1=").append(param1);
        sb.append(", param2=").append(param2);
        sb.append(", param3=").append(param3);
        sb.append(", param4=").append(param4);
        sb.append(", param5=").append(param5);
        sb.append(", goldAmout=").append(goldAmout);
        sb.append(", goldPay=").append(goldPay);
        sb.append(", orderAliasStatusTitle=").append(orderAliasStatusTitle);
        sb.append(", isRejected=").append(isRejected);
        sb.append(", cashcouponsId=").append(cashcouponsId);
        sb.append(", cashcoupons=").append(cashcoupons);
        sb.append(", referId=").append(referId);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}